package com.leyou.auth.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author jshstart
 * @creat 2020-12-23 17:38
 */
@FeignClient(value = "auth-service")
public interface AuthClient {
    @GetMapping("/client/key")
    public String getSecretKey(@RequestParam("clientId") String clientId,@RequestParam("secret")  String secret);
}
